import request from '@/utils/request'

// Business - 业务管理

export function businessList(params) {
  return request({
    url: '/cms/billList',
    method: 'post',
    data: params
  })
}

// Business - 修改业务

export function updateBusiness(params) {
  return request({
    url: '/cms/billEdit',
    method: 'post',
    data: params
  })
}

// Business - 删除业务

export function deleteBusiness(params) {
  return request({
    url: '/cms/delConfig',
    method: 'post',
    data: params
  })
}

// Business - 添加业务

export function addBusiness(params) {
  return request({
    url: '/ApiAdmin/Business/addBusiness',
    method: 'post',
    data: params
  })
}

// Business - 业务列表 （不带分页）

export function businessBlist(params) {
  return request({
    url: '/ApiAdmin/Business/blist',
    method: 'post',
    data: params
  })
}
